//
//  CADViewerX.h
//  CADViewerX
//
//  Created by 李园园 Mac on 15/12/7.
//  Copyright © 2015年 com.yttxsoft. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface CADViewer : NSObject

// 初始化浏览器
+(void)InitCADViewer;

// 释放浏览器
+(void)UninitCADViewer;


// 弹出窗口打开图纸
+(void)OpenCADViewer:(NSString*)sFileName DocName:(NSString*)docName ViewControl:(UIViewController *)navigationController;

// 导航方式打开图纸,并指定视图范围
+(void)PushCADViewerEx:(NSString*)sFileName DocName:(NSString*)docName NavControl:(UINavigationController *)navigationController frameView:(CGRect)frame;

// 弹出窗口打开图纸
+(void)OpenCADMarker:(NSString*)sFileName DocName:(NSString*)docName ViewControl:(UIViewController *)navigationController MarkColor:(NSInteger)markColor MarkUser:(NSString*)markUser;

// 导航方式打开图纸,并指定视图范围
+(void)PushCADMarker:(NSString*)sFileName DocName:(NSString*)docName NavControl:(UINavigationController *)navigationController frameView:(CGRect)frame  MarkColor:(NSInteger)markColor MarkUser:(NSString*)markUser;

+(NSString*)GetAllMarkText:(NSString*)sFileName MarkUser:(NSString*)markUser;

// 创建签名图块
+ (NSData *)CreateDwgBlock:(NSMutableArray *)arPoints;
@end
